package cn.donzell.model;

import java.math.BigDecimal;
import top.ibase4j.core.base.BaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 商品
 * </p>
 *
 * @author Donzell
 * @since 2019-02-13
 */
@ApiModel("商品")
@SuppressWarnings("serial")
public class AntOrder extends BaseModel {

    @ApiModelProperty(value = "单号")
	private String orderNo;
    @ApiModelProperty(value = "商品编码")
	private Long goodsId;
    @ApiModelProperty(value = "状态状态(1:待支付,2:待评价)")
	private Integer status;
    @ApiModelProperty(value = "数量")
	private Integer num;
    @ApiModelProperty(value = "价格")
	private BigDecimal price;
    @ApiModelProperty(value = "原价")
	private BigDecimal rawPrice;


	public String getOrderNo() {
		return orderNo;
	}

	public AntOrder setOrderNo(String orderNo) {
		this.orderNo = orderNo;
		return this;
	}

	public Long getGoodsId() {
		return goodsId;
	}

	public AntOrder setGoodsId(Long goodsId) {
		this.goodsId = goodsId;
		return this;
	}

	public Integer getStatus() {
		return status;
	}

	public AntOrder setStatus(Integer status) {
		this.status = status;
		return this;
	}

	public Integer getNum() {
		return num;
	}

	public AntOrder setNum(Integer num) {
		this.num = num;
		return this;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public AntOrder setPrice(BigDecimal price) {
		this.price = price;
		return this;
	}

	public BigDecimal getRawPrice() {
		return rawPrice;
	}

	public AntOrder setRawPrice(BigDecimal rawPrice) {
		this.rawPrice = rawPrice;
		return this;
	}

}